// 基于template/src/views/{{appModules}}/{{pages@DEPICKUPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IPickupViewModel } from "@/core/interface/view/model";

//  获取视图模型
function getModel(): IPickupViewModel {
    return {
        caption: "示例实体02",
        title: "首页图表数据源数据选择视图",
        capPSLanguageRes: "DE.LNAME.IBIZSAMPLE0002",
        titlePSLanguageRes: "PAGE.TITLE.IBIZSAMPLE0002.PICKUPVIEW",
        showDataInfoBar: false,
        codeName: 'IBIZSample0002PickupView',
        uiEngineModel: [
            ],
        ctrls: [
            {
                name: 'pickupviewpanel',
                codeName: 'PickupViewpickupviewpanel',
                controlType: 'PICKUPVIEWPANEL',
            }
        ],
        ctrlParams: {
            IBIZSample0002pickupviewpanel: {},
        },
        cssName: "",
        name: "IBIZSample0002PickupView",
        viewType: "DEPICKUPVIEW",
        viewStyle: "DEFAULT",
        showCaption: false,
        isLoadDefault: true,
        entityCodeName: "IBIZSample0002",
        keyPSAppDEField: "IBIZSample0002Id",
        majorPSAppDEField: "IBIZSample0002Name",
        expandSearchForm:false,
        quickSearchPlaceholder: ['首页图表数据源名称',].join(","),
        useDefaultLayout: true,
    }
}

export const model = getModel();